Packetery\Module\Options\OptionsProvider B

Total Complexity 95
Dependencies 6
Dependents 47
Total lines 743
Lines of code 346
Logical lines of code 165
Comment lines 253
Methods 53
Properties 4

Methods 53

Method Rating Maintainability Complexity Lines of code
__construct()
A
54 9 22
get_api_key()
S
68 4 7
getPacketAutoSubmissionMappedUniqueEvents()
S
63 3 11
getLabelFormats()
S
50 1 34
getSanitizedDimensionValueInMm()
S
63 3 10
getCarrierLabelFormat()
S
64 3 10
getStatusSyncingPacketStatuses()
S
61 2 13
getOptionsByName()
S
68 2 7
getCodPaymentMethods()
S
69 2 7
getCheckoutWidgetButtonLocation()
S
69 2 7
getCheckoutDetection()
S
69 2 7
getDimensionsNumberOfDecimals()
S
71 2 6
getDefaultWeight()
S
71 2 6
getDefaultLength()
S
71 2 6
getDefaultHeight()
S
71 2 6
getDefaultWidth()
S
71 2 6
getMaxStatusSyncingPackets()
S
68 2 7
getMaxDaysOfPacketStatusSyncing()
S
68 2 7
getStatusSyncingOrderStatuses()
S
69 2 7
isFreeShippingShown()
S
69 2 7
arePricesTaxInclusive()
S
69 2 7
isCheckoutLogoHidden()
S
69 2 7
isPacketCancellationForced()
S
69 2 7
isPacketAutoSubmissionEnabled()
S
68 2 7
getLabelMaxOffset()
S
69 2 7
shouldWidgetOpenAutomatically()
S
69 2 7
isOrderStatusAutoChangeEnabled()
S
69 2 7
isOrderStatusChangeAllowed()
S
68 2 7
isWcCarrierConfigEnabled()
S
68 2 7
isWcCarrierConfigEnabledNullable()
S
69 2 7
getValidAutoOrderStatusFromMapping()
S
69 2 7
getAllOptions()
S
67 1 8
has_any()
S
79 1 3
get()
S
79 1 3
get_api_password()
S
80 1 3
get_sender()
S
80 1 3
get_carrier_label_format()
S
79 1 3
get_packeta_label_format()
S
79 1 3
get_allow_label_emailing()
S
80 1 3
getPackagingWeight()
S
80 1 3
getDimensionsUnit()
S
75 1 4
isDefaultWeightEnabled()
S
80 1 3
isDefaultDimensionsEnabled()
S
80 1 3
getExistingStatusSyncingOrderStatuses()
S
72 1 5
replaceShippingAddressWithPickupPointAddress()
S
80 1 3
isCheckoutLogoShown()
S
80 1 3
getPacketAutoSubmissionPaymentMethodEventsMapping()
S
80 1 3
getPacketAutoSubmissionEventForPaymentGateway()
S
78 1 3
getPacketaLabelFormats()
S
74 1 4
getAutoOrderStatusFromMapping()
S
79 1 3
getAutoOrderStatus()
S
80 1 3
getEmailHook()
S
75 1 4
sanitizePaymentGatewayId()
S
79 1 3